package com.woniuxy.usersecurity.entity;

import com.baomidou.mybatisplus.annotation.*;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.io.Serializable;

/**
 * <p>
 * 角色表
 * </p>
 *
 * @author zhangxianhui
 * @since 2020-09-24
 */
@Data
@EqualsAndHashCode(callSuper = false)
@TableName("\"ROLE\"")
@ApiModel(value="Role对象", description="角色表")
@KeySequence("SEQ_ROLE")
public class Role implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "角色id")
    @TableId(value = "ROLE_ID",type = IdType.INPUT)
    private Integer roleId;

    @ApiModelProperty(value = "角色名称")
    @TableField("ROLE_NAME")
    private String roleName;

    @ApiModelProperty(value = "角色描述")
    @TableField("ROLE_DESCRIPTION")
    private String roleDescription;

    @ApiModelProperty(value = "角色状态")
    @TableField("ROLE_STATUS")
    private Integer roleStatus;


}
